
#ifndef TEST_H
#define TEST_H
#endif


#ifndef DRAGLABEL_H
#define DRAGLABEL_H
//支持拖拽的QLabel

#include <QLabel>
#include <QDragEnterEvent>
#include <QDropEvent>
class dragLabel : public QLabel
{
    Q_OBJECT
public:
    explicit dragLabel(QWidget *parent = nullptr);

signals:

public slots:
private:
    void dragEnterEvent(QDragEnterEvent *e) override;
    void dropEvent(QDropEvent *e) override;
};

#endif // DRAGLABEL_H
